package top.zhangjianyong.tools.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import top.zhangjianyong.tools.entity.ETF;

public interface ETFMapper extends BaseMapper<ETF> {

    @Update("update etf set hold_flag=hold_flag-1 where hold_flag>0")
    boolean resetHold();
}
